package com.antler.smt.request.admin;

import com.antler.smt.request.base.BasePageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 *  获取采购商请求实体
 *
 * @author zhangyi
 * @date 2018/3/27 11:38
 */
@ApiModel(value = "GetPurchaserListReq", description = "获取采购商请求实体")
public class GetPurchaserListReq extends BasePageReq {

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", name = "linkPhone", required = true)
    private String linkPhone;

    /**
     * 联系人邮箱
     */
    @ApiModelProperty(value = "联系人邮箱", name = "linkEmail", required = true)
    private String linkEmail;

    /**
     * 联系人姓名
     */
    @ApiModelProperty(value = "联系人姓名", name = "linkMan", required = true)
    private String linkMan;

    /**
     * 统一社会信用码
     */
    @ApiModelProperty(value = "统一社会信用码", name = "creditCode", required = true)
    private String creditCode;

    /**
     * 法人
     */
    @ApiModelProperty(value = "法人", name = "legalPerson", required = true)
    private String legalPerson;

    /**
     * 成立时间
     */
    @ApiModelProperty(value = "成立时间", name = "foundTime", required = true)
    private Date foundTime;

    /**
     * 营业执照附件id
     */
    @ApiModelProperty(value = "营业执照附件id", name = "businessLicenseAttachmentId", allowEmptyValue = true)
    private Long businessLicenseAttachmentId;

    /**
     * 公司地址国家Id
     */
    @ApiModelProperty(value = "公司地址国家Id", name = "countryId", required = true)
    private Integer countryId;

    /**
     * 公司地址国家名称
     */
    @ApiModelProperty(value = "公司地址国家名称", name = "countryName", required = true)
    private String countryName;

    /**
     * 公司地址省Id
     */
    @ApiModelProperty(value = "公司地址省Id", name = "provinceId", required = true)
    private Integer provinceId;

    /**
     * 公司地址省名称
     */
    @ApiModelProperty(value = "公司地址省名称", name = "provinceName", required = true)
    private String provinceName;

    /**
     * 公司地址城市Id
     */
    @ApiModelProperty(value = "公司地址城市Id", name = "cityId", required = true)
    private Integer cityId;

    /**
     * 公司地址城市名称
     */
    @ApiModelProperty(value = "公司地址城市名称", name = "cityName", required = true)
    private String cityName;

    /**
     * 公司地址详细地址
     */
    @ApiModelProperty(value = "公司地址详细地址", name = "detailAddress", required = true)
    private String detailAddress;

    /**
     * 公司邮箱
     */
    @ApiModelProperty(value = "公司邮箱", name = "companyEmail", allowEmptyValue = true)
    private String companyEmail;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称", name = "companyName", required = true)
    private String companyName;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间", name = "auditTime", required = true)
    private Date auditTime;

    /**
     * 认证审核用户id
     */
    @ApiModelProperty(value = "认证审核用户id", name = "auditUserId", required = true)
    private Long auditUserId;

    /**
     * 认证审核结果 0未审核 1审核通过 2审核未通过
     */
    @ApiModelProperty(value = "认证审核结果 0未审核 1审核通过 2审核未通过", name = "auditResult", required = true)
    private Integer auditResult;

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkEmail() {
        return linkEmail;
    }

    public void setLinkEmail(String linkEmail) {
        this.linkEmail = linkEmail;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd")
    public Date getFoundTime() {
        return foundTime;
    }

    public void setFoundTime(Date foundTime) {
        this.foundTime = foundTime;
    }

    public Long getBusinessLicenseAttachmentId() {
        return businessLicenseAttachmentId;
    }

    public void setBusinessLicenseAttachmentId(Long businessLicenseAttachmentId) {
        this.businessLicenseAttachmentId = businessLicenseAttachmentId;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getCompanyEmail() {
        return companyEmail;
    }

    public void setCompanyEmail(String companyEmail) {
        this.companyEmail = companyEmail;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public Long getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(Long auditUserId) {
        this.auditUserId = auditUserId;
    }

    public Integer getAuditResult() {
        return auditResult;
    }

    public void setAuditResult(Integer auditResult) {
        this.auditResult = auditResult;
    }

    @Override
    public String toString() {
        return "GetPurchaserListReq{" +
                "linkPhone='" + linkPhone + '\'' +
                ", linkEmail='" + linkEmail + '\'' +
                ", linkMan='" + linkMan + '\'' +
                ", creditCode='" + creditCode + '\'' +
                ", legalPerson='" + legalPerson + '\'' +
                ", foundTime=" + foundTime +
                ", businessLicenseAttachmentId=" + businessLicenseAttachmentId +
                ", countryId=" + countryId +
                ", countryName='" + countryName + '\'' +
                ", provinceId=" + provinceId +
                ", provinceName='" + provinceName + '\'' +
                ", cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", detailAddress='" + detailAddress + '\'' +
                ", companyEmail='" + companyEmail + '\'' +
                ", companyName='" + companyName + '\'' +
                ", auditTime=" + auditTime +
                ", auditUserId=" + auditUserId +
                ", auditResult=" + auditResult +
                '}'+super.toString();
    }
}


